/**
 * 
 */
var writeBtn;


function general(){

}
function input(){
	var f=document.frm;
	var w=document.getElementById('writeBtn');
	f.action='guest_main.jsp?inpage=./visitMain.jsp&t=1';
	f.submit();
}

function gomain(){
	location.href='guest_main.jsp?inpage=./visitMain.jsp';
}

function modiOpen(vno){
	location.href='guest_main.jsp?inpage=./visitMain.jsp?moveModify='+vno;
}
function modiChoice(vno){
	var f=document.hiddenFrm;
	var g = document.getElementById('modifyContent2');
	f.action='guest_main.jsp?inpage=./modifyHandling.jsp';
	f.content.value= g.value;
	f.vno.value=vno;
	f.submit();
}
function deleteChoice(vno){
	var f=document.hiddenFrm;
	f.action='guest_main.jsp?inpage=./deleteHandling.jsp';
	f.vno.value=vno;
	f.submit();
}


function goPage(page){
	//location.href=url+'view.jsp&page=' + page;  //메소드가 get타입
	var mf = document.hiddenFrm ;
	mf.nowPage.value = page ;
	mf.find.value = document.visit_list_frm.find.value ;
	mf.action = 'guest_main.jsp?inpage=./visitMain.jsp';
	
	mf.submit();
	
}

function goView(page, rno){
	var mf = document.hiddenFrm ;
	mf.nowPage.value = page ;
	mf.rno.value = rno;
	mf.find.value = document.visit_list_frm.find.value ;
	mf.action = 'guest_main.jsp?inpage=./visitMain.jsp';
	
	mf.submit();
}
function Init(){
	general();
}